Welcome![Sign In][Sign Up]
Location:
Search - array matlab

Search list

[matlab咖吗滤波matlab

Description:

function [h,s,v] = rgb2hsv(r,g,b)
%RGB2HSV Convert red-green-blue colors to hue-saturation-value.
%   H = RGB2HSV(M) converts an RGB color map to an HSV color map.
%   Each map is a matrix with any number of rows, exactly three columns,
%   and elements in the interval 0 to 1.  The columns of the input matrix,
%   M, represent intensity of red, blue and green, respectively.  The
%   columns of the resulting output matrix, H, represent hue, saturation
%   and color value, respectively.
%
%   HSV = RGB2HSV(RGB) converts the RGB image RGB (3-D array) to the
%   equivalent HSV image HSV (3-D array).


Platform: | Size: 1517 | Author: leohee | Hits:

[OtherINTRODUCTION TO MATLAB FOR

Description: 1 Tutorial lessons 1 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Basic features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 A minimum MATLAB session . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.1 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.2 Using MATLAB as a calculator . . . . . . . . . . . . . . . . . . . . . 4 1.3.3 Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Creating MATLAB variables . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Overwriting variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Making corrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.5 Controlling the hierarchy of operations or precedence . . . . . . . . . 6 1.4.6 Controlling the appearance of °oating point number . . . . . . . . . . 8 1.4.7 Managing the workspace . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.8 Keeping track of your work session . . . . . . . . . . . . . . . . . . . 9 1.4.9 Entering multiple statements per line . . . . . . . . . . . . . . . . . . 9 1.4.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.11 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Tutorial lessons 2 12 2.1 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Basic plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Creating simple plots . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 Adding titles, axis labels, and annotations . . . . . . . . . . . . . . . 15 2.2.4 Multiple data sets in one plot . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 Specifying line styles and colors . . . . . . . . . . . . . . . . . . . . . 17 2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Matrix generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.1 Entering a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.2 Entering a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5.3 Matrix indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5.4 Colon operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.5 Linear spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.6 Colon operator in a matrix . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.7 Creating a sub-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.8 Deleting row or column . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.9 Dimension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.10 Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.11 Transposing a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.12 Concatenating matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.13 Matrix generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.14 Special matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Array operations and Linear equations 30 3.1 Array operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.1 Matrix arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.2 Array arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.2 Solving linear equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2.1 Matrix inverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.2 Matrix functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 Introduction to programming in MATLAB 35 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2 M-File Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.2 Script side-eRects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.3 M-File functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3.1 Anatomy of a M-File function . . . . . . . . . . . . . . . . . . . . . . 38 4.3.2 Input and output arguments . . . . . . . . . . . . . . . . . . . . . . . 40 4.4 Input to a script ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 Output commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5 Control °ow and operators 43 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2 Control °ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.1 The ``if...end'' structure . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.2 Relational and logical operators . . . . . . . . . . . . . . . . . . . . . 45 5.2.3 The ``for...end'' loop . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2.4 The ``while...end'' loop . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.5 Other °ow structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.6 Operator precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Saving output to a ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Debugging M-¯les 49 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Debugging process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2.1 Preparing for debugging . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.2 Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.3 Running with breakpoints . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.4 Examining values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.5 Correcting and ending debugging . . . . . . . . . . . . . . . . . . . . 51 6.2.6 Ending debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.7 Correcting an M-¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Platform: | Size: 258288 | Author: taffy320 | Hits:

[AlgorithmArrayRadarSignalProcess

Description: 阵列雷达信号处理工具箱 阵列雷达信号处理工具箱-Array Radar Signal Processing Toolbox Array Radar Signal Processing Toolbox
Platform: | Size: 9733120 | Author: jfg | Hits:

[Otherem-array

Description: 用于计算阵列天线的程序,一般的平面阵列结构均可以直接计算,可用于线、面天线-array antenna used in the calculation procedure, the general structure of planar arrays can be directly calculated, can be used to line, antenna
Platform: | Size: 113664 | Author: 夏烁 | Hits:

[Post-TeleCom sofeware systemsAntenna_arrays_design_tool

Description: matlab开发的阵列天线设计工具,可以设计均匀/非均匀、一维/多维等阵列,可画出方向图-Matlab development of the antenna array design tools can be designed uniform/non-uniform, one-dimensional/Multi-dimensional arrays, etc., can be painted pattern
Platform: | Size: 10240 | Author: lhwbrike | Hits:

[Communication-MobileCapon_Algorithm

Description: 阵列信号处理波束形成卡朋算法仿真:该程序阵列数为N,采样点数为K,入射信号为30度角,干扰信号为60度角。 功能:提取有用信号抑制干扰信号-Array signal processing beamforming algorithm entacapone simulation: the procedure for the array N, the sampling points for K, the incident signal at 30-degree angle, interference signal for the 60-degree angle. Features: extract useful signal interference signal suppression
Platform: | Size: 1024 | Author: 王崇 | Hits:

[MPIMATLAB

Description: 卷积运算:取x(t)和h(t)的长度为nx,nh。平移量n=nh+nx-1,利用for和if语句实现倒序求和运算。外循环用一个for语句实现平移,通过在求和时取数组元素的顺序实现倒序求和-Convolution operation: take x (t) and h (t) of length nx, nh. Translational volume n = nh+ Nx-1, use for and if statements to achieve reverse summation operator. Outside the circle with a for statement to achieve translation, when taken in sum array elements to achieve reverse the order of summation
Platform: | Size: 1024 | Author: 1 | Hits:

[Otherbosu

Description: 基于matlab的声纳基阵接收波束形成,主要是水平面波束形成-Based on the Sonar Array matlab beamforming receiver is mainly horizontal beamforming
Platform: | Size: 1024 | Author: 顾东 | Hits:

[Communication-MobileMATLAB-FSK

Description: 用MATLAB产生FSK调制信号 1.实验要求: (1)随机产生一个包含十个元素的数组,该数组中的元素非0即1,用作FSK信号的输入数据。 (2)对该数组中的二进制数进行FSK调制,0调制在5000Hz上,1调制在8000Hz上,码元速率为200码元/秒。 (3)画出所产生的FSK信号的时域图形和频域图形。 -Using MATLAB generated FSK modulation signal 1. Experimental requirements: (1) a randomly generated array contains 10 elements, the array of elements of non-0 or 1 for FSK signals in the input data. (2) of the array of binary for FSK modulation, 0 modulation in the 5000Hz, 8000Hz Modulation in one, the symbol rate of 200 yards million/sec. (3) draw FSK signal generated by the time domain and frequency domain graphics graphics.
Platform: | Size: 1024 | Author: 杨青禾 | Hits:

[matlabarray

Description: 相控阵的matlab代码,利用傅里叶方法进行综合-Phased Array of matlab code, the use of Fourier methods for integrated
Platform: | Size: 2048 | Author: abigail | Hits:

[matlabcircular_array

Description: 圆形阵列的扫描方向图的matlab代码,可通过修改前面的参数得到不同的结果-Circular array scanning direction map matlab code, may be by modifying the parameters in front of different results
Platform: | Size: 1024 | Author: abigail | Hits:

[matlab2yuanzhen

Description: 均匀圆阵的指向性仿真和模拟,原创,最后求出其指向性图,参数可自行代换-Uniform circular array of directional and analog simulation, originality, and finally obtained its directivity diagram, parameters can be self-substitution
Platform: | Size: 3072 | Author: 陈阳 | Hits:

[Audio program4DipoleArraySimulations

Description: 4-Dipole Array Simulations demonstrates the pattern of an array of 4 elements, pointing in the z direction and placed along the x axis with equal spacing d=0.5 wavelength. The program has also shown the pattern of the array as the progressive phase shift changes.
Platform: | Size: 111616 | Author: 李丽 | Hits:

[matlab1

Description: This MATLAB code calculates the array factor for N element linear array. N单元线性阵列的方向图函数MATLAB仿真代码-This MATLAB code calculates the array factor for N element linear array. N element linear array pattern function of the MATLAB simulation code
Platform: | Size: 4357120 | Author: 金萧 | Hits:

[matlabMATLAB

Description: MATLAB工具箱函数总汇 MATLAB数学运算基本函数 MATLAB数组操作 这是matlab的基本函数库,希望可帮到需要它的人-MATLAB toolbox function confluence basic function MATLAB arithmetic operation MATLAB array matlab This is the basic function library, hope to be able to help those who need it
Platform: | Size: 53248 | Author: 南飞燕 | Hits:

[Otherdparray3

Description: 3d dipole array pattern simulation very nice
Platform: | Size: 1024 | Author: 张翔 | Hits:

[OtherArray-Antenna

Description: 整列天线设计仿真M文件,可以设计1,2,3维的。沿袭前辈们的。-This software plot pattern of array antenna software and can design array antenna in 1,2 and 3 dimension.
Platform: | Size: 4096 | Author: lynn | Hits:

[matlabText-File-Array

Description: Matlab实现文本文件读取并存储成矩阵源代码 -这个Matlab程序,可以读取任何文本文件,并返回一个内容的数组。它在执行过程中,对每个字符串进行匹配,每行作为一次匹配的结束。
Platform: | Size: 44032 | Author: tianchui | Hits:

[matlabGray_Model(MATLAB)

Description: 一种简单的灰色预测实现的方法,data为需要输入的一维数组,N为需要预测的值的个数-Gm(1,1) matlab code ,input array data,input number N return array with N prediction value.
Platform: | Size: 1024 | Author: 林瑞蓝 | Hits:

[matlabfractal-array

Description: 基于MATLAB的分形阵列程序。运用的不同实现方法可以帮助初学者熟悉分形阵列的matlab实现!-MATLAB-based fractal array program. Use of different methods that can help beginners familiar fractal array matlab to achieve!
Platform: | Size: 36864 | Author: 瞿颜 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net